/**
 * 权限枚举
 */

export const permissionConstant: Record<string, string> = {
  "article.add": "content:article:add",
  "article.edit": "content:article:edit",
  "article.view": "content:article:view",
  "article.remove": "content:article:remove",
  "article.comment": "content:article:comment",
  "article.publish": "content:article:publish",
  "article.off":"content:article:off",

  "category.edit": "content:category:edit",
  "category.remove": "content:category:remove",
  "category.add":"content:category:add",

  "link.edit": "content:link:edit",
  "link.add": "content:link:add",
  "link.remove": "content:link:remove",
  "link.agree": "content:link:agree",
  "link.disagree": "content:link:disagree",

  "tag.add": "content:tag:add",
  "tag.edit": "content:tag:edit",
  "tag.remove": "content:tag:remove",
  "comment.remove":"content:comment:remove",

  "navigation.add":"content:navigation:add",
  "navigation.edit":"content:navigation:edit",
  "navigation.remove":"content:navigation:remove",

  "treeHole.remove":"content:treeHole:remove",

  "menu.add": "system:menu:add",
  "menu.edit": "system:menu:edit",
  "menu.remove": "system:menu:remove",
  "menu.view": "system:menu:view",

  "role.add": "system:role:add",
  "role.edit": "system:role:edit",
  "role.remove": "system:role:remove",
  "role.auth": "system:role:auth",
  "role.authMenu": "system:role:permission:authMenu",
  "role.authUser": "system:role:permission:authUser",
  "role.export":"system:role:export",
 

  "user.edit": "system:user:edit",
  "user.remove": "system:user:remove",
  "user.add": "system:user:add",
  "user.export":"system:user:export",
  "user.import":"system:user:import",
  "user.resetPwd":"system:user:resetPwd",

  "love.config": "webInfo:love:config",
  "love.addFile": "webInfo:love:addFile",
  "love.removeFile": "webInfo:love:removeFile",
  "love.removeComment":"webInfo:love:removeComment",
  "love.addTimeLine":'webInfo:love:addTimeLine',
  "love.updateTimeLine":'webInfo:love:updateTimeLine',
  "love.removeTimeLine":'webInfo:love:removeTimeLine',

  "bg.add": "webInfo:bg:add",
  "bg.remove": "webInfo:bg:remove",
  
};
